#include "Scene.h"

class testScene:public Scene
{
public:
	testScene(SceneEvnArgs evn)
		:Scene(evn){
		
	}
	virtual void createScene( void ) 
	{
		Ogre::Entity* ogreHead = mSceneMgr->createEntity("Head", "ogrehead.mesh");

		Ogre::SceneNode* headNode = mSceneMgr->getRootSceneNode()->createChildSceneNode();
		headNode->attachObject(ogreHead);

		// Set ambient light
		mSceneMgr->setAmbientLight(Ogre::ColourValue(0.5, 0.5, 0.5));

		// Create a light
		Ogre::Light* l = mSceneMgr->createLight("MainLight");
		l->setPosition(20,80,50);

		MenuManager::getSingleton().ActiveWindow("mainFrame.layout");
	}

};